package role;

// 士兵
public class Soldier extends Role {
    public Soldier() {
    }

    public Soldier(String name, int level, int gold) {
        super(name, level, gold);
        this.hp = this.level * 15;// hp
        this.atk = this.level * 2;// atk
        this.def = this.level * 3;// def
    }

    // 狂暴
    public void mad() {
        // 那就加个判断？
        this.hp *= 0.5;
        this.atk *= 2;
        this.def *= 2;
        System.out.println("啊啊啊啊啊啊啊蕾蕾发疯！");
    }
}
